package com.china08.yxyapi.service.manage.tec.teaching.homework.workcorrect1;

import java.util.List;

import com.china08.yxyapi.api.manage.tec.teaching.homework.worklist.workcorrect1.Workcorrect1FindClassStuTaskController.RespModel;
import com.china08.yxyapi.entity.mg.homework.HomeworkTaskClass;
import com.china08.yxyapi.entity.mg.homework.HomeworkTaskReport;

/**
 *  
 */
public interface HomeworkCorrect1Service {

    /**
     * 
     * @param homeworkTask
     * @param homeworkTaskReports
     * @param homeworkTaskReportQueslist
     * @return
     */
    RespModel convertRespModel(HomeworkTaskClass homeworkTaskClass, List<HomeworkTaskReport> homeworkTaskReports);

    /**
     * 学生进行批阅状态修改
     * 
     * @param taskId
     *            任务Id
     * @param classId
     *            班级Id
     * @param studentId
     *            学生Id
     */
    public void correct(String taskId, String classId, String studentId);

    /**
     * 学生正确率统计
     * 
     * @param taskId
     *            任务Id
     * @param classId
     *            班级Id
     * @param studentId
     *            学生Id
     */
    public void stuTaskAccuracy(String taskId, String classId, String studentId);

    /**
     * 学生知识点统计
     * 
     * @param taskId
     *            任务Id
     * @param classId
     *            班级Id
     * @param studentId
     *            学生Id
     */
    public void stuTaskPointRate(String taskId, String classId, String studentId);

    /**
     * 学生得分率统计
     * 
     * @param taskId
     * @param classId
     * @param studentId
     */
    public void stuTaskScoreRate(String taskId, String classId, String studentId, Integer total);

}
